{% extends 'account/base.html' %}
{% load my_tags %}

{% block title_content %}登录{% endblock %}

{% block body_content %}
  <h1 class="display-1">登录</h1>
  <form action="{% url 'delivery_account:verify' %}" method="post">
    {% csrf_token %}
  {% for item in form %}
  <div class="row mb-3">
    {{ item|label_class:'form-label' }}
    {{ item }}
    {{ item.errors }}
  </div>
  {% endfor %}
  <p><button class="btn btn-primary" type="submit">登录</button></p>
  </form>
{% endblock %}